package com.zret.oasys.json.entity;

import java.util.List;


public class GetTableDataJson<T> {
	private int code;
	private String msg;
	private int count;
	private List<T> data;

	// 无参构造
	public GetTableDataJson() {

	}

	// 有参构造
	public GetTableDataJson(int code, String msg, int count, List<T> list) {
		super();
		this.code = code;
		this.msg = msg;
		this.count = count;
		this.data = list;
	}

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * @param msg the msg to set
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}

	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}

	/**
	 * @param count the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}

	/**
	 * @return the list
	 */
	public List<T> getList() {
		return data;
	}

	/**
	 * @param list the list to set
	 */
	public void setList(List<T> data) {
		this.data = data;
	}

}
